import { ConfigProvider, App as AntdApp } from "antd"
import zhCN from "antd/lib/locale/zh_CN"
import { RouterProvider } from "react-router-dom"
import routers from "@/config/routers"
import { themes } from "@/config/themes"

import './App.css'

function App() {
  return (
    <ConfigProvider locale={ zhCN } theme={ themes }>
      <AntdApp>
        <RouterProvider router={ routers } />
      </AntdApp>
    </ConfigProvider>
  )
}

export default App
